﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Amazon.PAAPI
{
    struct AmazonCategory
    {
        private string _browseNode;
        private string _name;
        private int _dbID;
        public string Name { get { return _name; } set { _name = value; } }
        public string BrowseNode { get { return _browseNode; } set { _browseNode = value; } }
        public int DbID { get { return _dbID; } set { _dbID = value; } }
        public AmazonCategory(string name, string browseNode,int dbID)
        {
            _browseNode = browseNode;
            _name = name;
            _dbID = dbID;
        }
    }

    struct AmazonPriceSlice
    {
        private decimal _minPrice;
        private decimal _maxPrice;
        public decimal MinPrice { get { return _minPrice; } set { _minPrice = value; } }
        public decimal MaxPrice { get { return _maxPrice; } set { _maxPrice = value; } }
        public AmazonPriceSlice(decimal minPrice, decimal maxPrice)
        {
            _minPrice = minPrice;
            _maxPrice = maxPrice;
        }
    }

    struct AmazonArgs
    {
        private AmazonCategory _category;
        private AmazonPriceSlice _priceSlice;
        public AmazonCategory Category { get { return _category; } set { _category = value; } }
        public AmazonPriceSlice PriceSlice { get { return _priceSlice; } set { _priceSlice = value; } }
        public AmazonArgs(AmazonCategory cat, AmazonPriceSlice psl)
        {
            _category = cat;
            _priceSlice = psl;
        }
    }
}
